﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IZFileManager.aspx.cs" Inherits="CMS.Controls.IZFileManager" %>
<%@ Register TagPrefix="iz" Assembly="IZ.WebFileManager" Namespace="IZ.WebFileManager" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        body { margin: 0; padding: 0; }
    </style>
    <script language="JavaScript" type="text/javascript">
        function returnValue(value) {
            if (opener && !opener.closed && opener.setTargetField) {                
                opener.setTargetField(value, '<%= Type %>');
            }
            window.close();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="IZFileManager">
        <iz:FileManager ID="FileManager1" runat="server" Height="400" Width="800">
            <RootDirectories>
                <iz:RootDirectory DirectoryPath="~/Data/UserData" Text="My Documents" />
            </RootDirectories>
        </iz:FileManager>
    </div>
    <div style="padding:5px;">
		<asp:Label runat="server" ID="SelectedItemsLog" />
        <asp:Label runat="server" ID="lbMessage" /> 
	</div>
    <div style="padding: 5px;">
        <asp:Button ID="btnLog" runat="server" Text="Select" OnClick="LogSelected" />
    </div>
    </form>
</body>
</html>